package com.lesserpand.lspand.story.item.entity;

import com.alibaba.fastjson.annotation.JSONType;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author bailuo
 * @version 0.0.1
 * @package com.lesserpand.lspand.story.item.entity
 * @description TODO
 * @date Created in 2018/6/8 12:01
 * @company 满屋严选
 * @copyright Copyright (c) 2017
 * @modified By
 */
@Data
@JSONType(serialzeFeatures = {
        SerializerFeature.WriteMapNullValue,
        SerializerFeature.WriteNullStringAsEmpty,
        SerializerFeature.WriteNullListAsEmpty,
        SerializerFeature.WriteNullNumberAsZero,
        SerializerFeature.WriteNullBooleanAsFalse
})
public class StudentQuery {

    /**
     * 当前页码
     */
    @ApiModelProperty(name = "pageNum", value = "当前页码")
    private Integer pageNum = 1;

    /**
     * 每页大小
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小")
    private Integer pageSize = 10;

    /**
     * 排序字段
     */
    @ApiModelProperty(name = "orderBy", value = "排序字段")
    private String orderBy;

    /**
     * 排序方式
     */
    @ApiModelProperty(name = "orderType", value = "排序方式")
    private String orderType;

    /**
     * 名称
     */
    @ApiModelProperty(name = "name", value = "名称")
    private String name;

    /**
     * 关键字
     */
    @ApiModelProperty(name = "keyWord", value = "关键字")
    private String keyWord;

    private Timestamp startTime;
    private Timestamp endTime;

}
